package org.poem.enums;

import lombok.Getter;

/**
 * @author sangfor
 * 任务的详情
 */
@Getter
public enum EnumTaskDetailStatus {

    /**
     * 未启动
     */
    NOT_STARTED(0, "未启动"),
    /**
     * 运行中
     */
    RUNNING(1, "运行中"),
    /**
     * 运行失败
     */
    FAIL(2, "运行失败"),
    /**
     * 运行成功
     */
    SUCCESS(3, "运行成功");

    private Integer id;

    private String name;

    EnumTaskDetailStatus(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
